package com.dks.repository;

import java.util.List;

import com.dks.enumeration.AppointmentType;
import com.dks.exception.BaseException;
import com.dks.models.QsClass;
import com.dks.models.student.*;

/**
 * @author evan
 * @date 2020/5/11
 */
public interface IClassHourUseRepository {

    void useAppointClass(List<? extends QsClass> qsClassCapacityDtoList, long userId, long studentId, long parentId, AppointmentType appointmentType) throws BaseException;

    void useWaitClass(List<? extends QsClass> qsClassList, long userId, long studentId, long parentId) throws BaseException;

    void useCancel(List<StudentClass> studentClassList, long userId) throws BaseException;

    void waitCancel(List<PositionWait> positionWaitList, long userId, Integer fixedWaitCancelLimit) throws BaseException;

    List<ClassHourPackage> select(long qsClassId);
}
